package com.jrh.domain.entity;

import java.util.List;

import com.jrh.common.constant.JrhBizConstant;

/**
 * 用户喜欢
 * 
 * @author jasen.hsu.cn@gmail.com 2012-8-6 下午9:33:42
 */
public class UserLike {

    /** 商品 */
    public static final int LIKE_REF_TYPE_PRODUCT  = JrhBizConstant.LIKE_REF_TYPE_PRODUCT;

    /** 样板间 */
    public static final int LIKE_REF_TYPE_BRAND    = JrhBizConstant.LIKE_REF_TYPE_BRAND;

    /** 美图集 */
    public static final int LIKE_REF_TYPE_ATLAS    = JrhBizConstant.LIKE_REF_TYPE_ATLAS;

    /** 样板间 */
    public static final int LIKE_REF_TYPE_SHOWROOM = JrhBizConstant.LIKE_REF_TYPE_SHOWROOM;

    private Long            id;

    private Long            userId;

    private Long            refId;

    private List<Long>      refIds;

    private int             refType;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getRefId() {
        return refId;
    }

    public void setRefId(Long refId) {
        this.refId = refId;
    }

    public int getRefType() {
        return refType;
    }

    public void setRefType(int refType) {
        this.refType = refType;
    }

    public List<Long> getRefIds() {
        return refIds;
    }

    public void setRefIds(List<Long> refIds) {
        this.refIds = refIds;
    }

}
